HLS Salesforce Data Cloud System API - Implementation Template

(0 reviews)

Developer guide

This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.

ModuleDescription
condition-json-to-csvCondition JSON to CSV mapping
condition-json-to-jsonCondition JSON to CDP Streaming JSON mapping
immunization-json-to-csvImmunization JSON to CSV mapping
immunization-json-to-jsonImmunization JSON to CDP Streaming JSON mapping
webEngagement-json-to-csvWeb Engagement JSON to CSV mapping
webEngagement-json-to-jsonWeb Engagement JSON to CDP Streaming JSON mapping
job-details-responseJob Details Response Mapping

condition-json-to-csv

Condition JSON to CSV mapping

Source: ./src/main/resources/dwl/condition-json-to-csv.dwl

Mapping Tables

Maps Condition JSON to CSV for CDP Bulk Upload

condition JSON FieldsCDP Ingestion API condition CSV FieldsDescription
patientIdpatientIdThe unique id assigned to the patient record in the EHR system
patientMrnpatientMrnThe Medical Record Number of the patient
conditionCodeconditionCodeIdentification of the condition
descriptionconditionDescriptionAdditional information about the condition
clinicalStatusclinicalStatusCondition clinical status (activerecurrencerelapseinactiveremissionresolved)
severityconditionSeveritySubjective severity of the condition (SevereModerateMild)
chronicFlagchronicFlagThe flag determines whether the condition is chronic type
recordedDaterecordedDateDate record was first recorded
resolvedDateresolvedDateDate when was condition resolved
sourceSystemIdsourceSystemIdThe unique id assigned to condition record in EHR system
currDateTimelastModifiedDateCurrent Time stamp of this entry

(back to top)

condition-json-to-json

Condition JSON to CDP Streaming JSON mapping

Source: ./src/main/resources/dwl/condition-json-to-json.dwl

Mapping Tables

Maps Condition JSON to JSON for CDP Streaming Upload

condition JSON FieldsCDP Ingestion API condition CSV FieldsDescription
patientIdpatientIdThe unique id assigned to the patient record in the EHR system
patientMrnpatientMrnThe Medical Record Number of the patient
conditionCodeconditionCodeIdentification of the condition
descriptionconditionDescriptionAdditional information about the condition
clinicalStatusclinicalStatusCondition clinical status (activerecurrencerelapseinactiveremissionresolved)
severityconditionSeveritySubjective severity of the condition (SevereModerateMild)
chronicFlagchronicFlagThe flag determines whether the condition is chronic type
recordedDaterecordedDateDate record was first recorded
resolvedDateresolvedDateDate when was condition resolved
sourceSystemIdsourceSystemIdThe unique id assigned to condition record in EHR system
currDateTimelastModifiedDateCurrent Time stamp of this entry

(back to top)

immunization-json-to-csv

Immunization JSON to CSV mapping

Source: ./src/main/resources/dwl/immunization-json-to-csv.dwl

Mapping Tables

Maps Immunization JSON to CSV for CDP Bulk Upload

immunization JSON FieldsCDP Ingestion API immunization CSV FieldsDescription
patientIdpatientIdThe unique id assigned to the patient record in the EHR system
patientMrnpatientMrnThe Medical Record Number of the patient
vaccineCodevaccineCodeIdentifies the vaccine substance administered - CVX codes
vaccineDescriptionvaccineDescriptionName and additional details of the vaccine
vaccineGroupvaccineGroupCategory of the vaccine
vaccineStatusvaccineStatusImmunization status code
dosedoseAmount of vaccine administered
vaccineDatevaccineDateVaccine administration date
sourceSystemIdsourceSystemIdThe unique id assigned to immunization record in EHR system
currDateTimelastModifiedDateCurrent Time stamp of this entry

(back to top)

immunization-json-to-json

Immunization JSON to CDP Streaming JSON mapping

Source: ./src/main/resources/dwl/immunization-json-to-json.dwl

Mapping Tables

Maps Immunization JSON to JSON for CDP Streaming Upload

immunization JSON FieldsCDP Ingestion API immunization CSV FieldsDescription
patientIdpatientIdThe unique id assigned to the patient record in the EHR system
patientMrnpatientMrnThe Medical Record Number of the patient
vaccineCodevaccineCodeIdentifies the vaccine substance administered - CVX codes
vaccineDescriptionvaccineDescriptionName and additional details of the vaccine
vaccineGroupvaccineGroupCategory of the vaccine
vaccineStatusvaccineStatusImmunization status code
dosedoseAmount of vaccine administered
vaccineDatevaccineDateVaccine administration date
sourceSystemIdsourceSystemIdThe unique id assigned to immunization record in EHR system
currDateTimelastModifiedDateCurrent Time stamp of this entry

(back to top)

webEngagement-json-to-csv

Web Engagement JSON to CSV mapping

Source: ./src/main/resources/dwl/webEngagement-json-to-csv.dwl

Mapping Tables

Maps Web Engagement JSON to CSV for CDP Bulk Upload

webEngagement JSON FieldsCDP Ingestion API webEngagement CSV FieldsDescription
individualIduserIdId of the patient user account
emailAddressemailAddressThe email Id of the patient user account
sessionIdsessionIdThe unique number assigned to the user's session for the duration of the visit
memberNamememberNameThe name of the patient
contentNamecontentNameThe name of the content that the patient visited on the website
contentTypecontentTypeThe type of the content that the patient visited on the website
pageViewspageViewsThe number of times the page is viewed
averageTimeonPageaverageTimeonPageThe average duration of the time the user is on the page in seconds
lastVisitedDatelastVisitedDateDate last visited by the user
currDateTimelastModifiedDateCurrent Time stamp of this entry

(back to top)

webEngagement-json-to-json

Web Engagement JSON to CDP Streaming JSON mapping

Source: ./src/main/resources/dwl/webEngagement-json-to-json.dwl

Mapping Tables

Maps Web Engagement JSON to JSON for CDP Bulk Upload

webEngagement JSON FieldsCDP Ingestion API webEngagement JSON FieldsDescription
individualIduserIdId of the patient user account
emailAddressemailAddressThe email Id of the patient user account
sessionIdsessionIdThe unique number assigned to the user's session for the duration of the visit
memberNamememberNameThe name of the patient
contentNamecontentNameThe name of the content that the patient visited on the website
contentTypecontentTypeThe type of the content that the patient visited on the website
pageViewspageViewsThe number of times the page is viewed
averageTimeonPageaverageTimeonPageThe average duration of the time the user is on the page in seconds
lastVisitedDatelastVisitedDateDate last visited by the user
currDateTimelastModifiedDateCurrent Time stamp of this entry

(back to top)

job-details-response

Job Details Response Mapping

Source: ./src/main/resources/dwl/job-details-response.dwl

Mapping Tables

Maps Job Details for Bulk Ingestion Jobs response

Target FieldsCDP Source FieldsDescription
ididThe unique id to identify the job
operationoperationThe processing operation for the job
sourceNamesourceNameThe name of the connector that represents the source of the object
statestateThe current state of the job
createdDatecreatedDateThe date and time when the job was created
retriesretriesThe number of retries
processingTimeprocessingTimeThe amount of time taken to process the job

(back to top)


Reviews

TypeTemplate
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onOct 12, 2023
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.1
1.0.0